import './assets/main.css'

import { createApp } from 'vue'

import App from './App.vue'
import router from './router'
import config from './config';
import './components'
import { createPinia } from 'pinia'
const pinia = createPinia()
const app = createApp(App)

app.use(pinia)
app.use(router)
// 使用 provide 提供全局配置
app.provide('config', config);

app.mount('#app')

console.log(import.meta.env.VITE_HOST);
